package com.qf.weekwork;

import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.qf.weekwork.dao")
@EnableGlobalMethodSecurity(securedEnabled = true)
public class WeekworkApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeekworkApplication.class, args);
    }

}
